package com.shycloud.mido.member.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shycloud.mido.homework.api.vo.AtvActiveDetailItemVO;
import com.shycloud.mido.homework.api.vo.AtvActiveDetailReqVO;
import com.shycloud.mido.member.api.entity.AtvMainActive;
import com.shycloud.mido.member.api.vo.AtvMainActivePageVO;
import com.shycloud.mido.member.api.vo.AtvMainActiveRespVO;

public interface AtvMainActiveMapper extends BaseMapper<AtvMainActive> {

	IPage<AtvMainActiveRespVO> pageAtvMainActiveRespVO(IPage<AtvMainActiveRespVO> page, @Param("param") AtvMainActivePageVO vo);

	IPage<AtvMainActiveRespVO> pageAtvMainActiveRespVOTea(IPage<AtvMainActiveRespVO> page, @Param("param") AtvMainActivePageVO vo);

	IPage<AtvMainActiveRespVO> pageAtvMainActiveRespVOStu(IPage<AtvMainActiveRespVO> page, @Param("param") AtvMainActivePageVO vo);

	AtvMainActiveRespVO getAtvMainActiveRespVO(@Param("param") AtvMainActivePageVO vo);

	List<AtvActiveDetailItemVO> studentActiveDatail(@Param("param") AtvActiveDetailReqVO vo);

	Integer queryMainActiveStatus(@Param("mainActiveId") String mainActiveId);

	String getActBossPhone(@Param("mainActiveId") String mainActiveId);

}